var $$ = function (id) { 
						return document.getElementById(id); 
						} 
						window.onload = function () { a(); b(); c(); d(); e(); f(); g(); h();
						 i(); j(); k(); l(); m(); n();
						} 
						function a(){
							var btnSelect = $$("btn_selec0"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function b(){
							var btnSelect = $$("btn_selec1"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function c(){
							var btnSelect = $$("btn-selectq0"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						
						}
						 
						}
						function d(){
							var btnSelect = $$("btn-selectq1"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function e(){
							var btnSelect = $$("btn-selectq2"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function f(){
							var btnSelect = $$("btn-selectq3"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function g(){
							var btnSelect = $$("btn-selectq4"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function h(){
							var btnSelect = $$("btn-selectq5"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function i(){
							var btnSelect = $$("btn-selectq6"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function j(){
							var btnSelect = $$("btn-selectq7"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function k(){
							var btnSelect = $$("btn-selectq8"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function l(){
							var btnSelect = $$("btn-selectq9"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function m(){
							var btnSelect = $$("btn-selectq10"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
						function n(){
							var btnSelect = $$("btn-selectq11"); 
						var curSelect = btnSelect.getElementsByTagName("span")[0]; 
						var oSelect = btnSelect.getElementsByTagName("select")[0]; 
						var aOption = btnSelect.getElementsByTagName("option"); 
						oSelect.onchange = function () { 
						var text=oSelect.options[oSelect.selectedIndex].text; 
						curSelect.innerHTML = text; 
						} 
						}
//				选择男女
				function rad(){
               $('input:radio[name=jobNature]:checked').change(function(){
								var xbcl = $(this).attr("class");
								if(xbcl == "validn"){
								$("#n").addClass("current");
								$("#v").removeClass("current");
								}else if(xbcl == "validv"){
									$("#v").addClass("current");
									$("#n").removeClass("current");
								}
								});  
						    }
//				语言水平
				function displayDate(){
			      		
                $("span[id='se0']").each(function(){
								$("#qqa").attr("value",$(this).text());
								$(".yyxz").hide(); 
                });
								
						}
				$(function(){
								$('#yyx').click(function(){
								$('.yyxz').show();
							});
							});		
						function closeyy() 
								{
								$(".yyxz").hide();            
								}
//				户口城市省份选择
				$(function(){
							$('#hkc').click(function(){
							$('.hkcs').show();
							});
							});		

								function closezz() 
								{
								$(".hkcs").hide();            
								}
//				居住城市省份选择								
								 $(function(){
								$('#jzc').click(function(){
								$('.hkcs').show();
							});
							});		
						
								
								function closezz() 
								{
								$(".hkcs").hide();            
								}
//完善工作经历
$(function () {
        $("#txtBeginDate").calendar({
            controlId: "divDate",                                 // 弹出的日期控件ID，默认: $(this).attr("id") + "Calendar"
            speed: 200,                                           // 三种预定速度之一的字符串("slow", "normal", or "fast")或表示动画时长的毫秒数值(如：1000),默认：200
            complement: true,                                     // 是否显示日期或年空白处的前后月的补充,默认：true
            readonly: true,                                       // 目标对象是否设为只读，默认：true
            upperLimit: new Date(),                               // 日期上限，默认：NaN(不限制)
            lowerLimit: new Date("2011/01/01"),                   // 日期下限，默认：NaN(不限制)
            
        });
        $("#txtEndDate").calendar();
    });
//完善教育经历
    $(function () {
        $("#txtBeginDateq").calendar({
            controlId: "divDateq",                                 // 弹出的日期控件ID，默认: $(this).attr("id") + "Calendar"
            speed: 200,                                           // 三种预定速度之一的字符串("slow", "normal", or "fast")或表示动画时长的毫秒数值(如：1000),默认：200
            complement: true,                                     // 是否显示日期或年空白处的前后月的补充,默认：true
            readonly: true,                                       // 目标对象是否设为只读，默认：true
            upperLimit: new Date(),                               // 日期上限，默认：NaN(不限制)
            lowerLimit: new Date("2011/01/01"),                   // 日期下限，默认：NaN(不限制)
            
        });
        $("#txtEndDateq").calendar();
    });
    
